.bpmn-tool-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 48px;
    background-color: #f5f5f5;
    padding: 0 16px;

    &>div {

        &:nth-child(1),
        &:nth-child(2),
        &:nth-child(3) {
            flex: 1;
        }
    }

    .bpmn-tool-bar-right {
        display: flex;
        align-items: center;
        justify-content: end;

        .bpmn-tool-bar-right-btn {
            background: white;
            cursor: pointer;
            height: 24px;
            line-height: 24px;
            padding: 0 10px;

            &:hover {
                color: var(--inbiz-color-primary);
            }
        }
    }

    .bpmn-tool-bar-options {
        display: flex;
        align-items: center;
        justify-content: start;

        .bpmn-tool-bar-options-item {
            height: 24px;
            margin-right: 12px;
            line-height: 24px;

            &>span {
                cursor: pointer;
                user-select: none;
            }

            .bpmn-tool-bar-options-item-img {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 24px;
                height: 24px;
                background: white;
                cursor: pointer;

                svg {
                    path {
                        fill: #666;
                    }
                }

                &:hover {
                    svg {
                        path {
                            fill: var(--inbiz-color-primary);
                        }
                    }
                }
            }

            .bpmn-tool-bar-options-item-text {
                width: 37px;
                text-align: center;
                user-select: none;
            }
        }

        .bpmn-tool-bar-global-btn {
            background: white;
            cursor: pointer;
            height: 24px;
            line-height: 24px;
            padding: 0 10px;
            color: #666;
            user-select: none;

            &:hover {
                color: var(--inbiz-color-primary);
            }
        }
    }

    .bpmn-tool-bar-btn {
        display: flex;
        align-items: center;
        justify-content: center;

        &>div {
            display: flex;
            align-items: center;
            justify-content: center;

            &>.bpmn-tool-bar-shape-code-item {
                padding: 3px;
                color: #333;
                border-top: 3px solid transparent;
                border-bottom: 3px solid transparent;
                cursor: pointer;
                user-select: none;

                &:nth-child(1) {
                    margin-right: 90px;
                }

                &.border-bottom {
                    color: var(--inbiz-color-primary);
                    border-bottom: 3px solid var(--inbiz-color-primary);
                }
            }
        }
    }
}